﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Authentication.Model.ViewModel.Customer
{
    public class RegionsViewModel : GenerateViewMode, IViewModel
    {
        [Required(ErrorMessage = "Name is required.")]
        [Display(Name = "Name:")]
        [StringLength(50, ErrorMessage = "Region Name cannot be longer than 50 characters.")]
        public string Name { get; set; }

        [Required(ErrorMessage = "Code is required.")]
        [Display(Name = "Code:")]
        public string RegionIdentifier { get; set; }
    }
}
